﻿@{
    ViewBag.Title = "刷新菜单";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@model SetUpDto
<div class="row">
    @using (Html.BeginHBootstrap_Box("刷新系统菜单"))
    {
        using (Html.BeginForm("Index", "SetUp", FormMethod.Post, new { id = "postForm", @class = "form-horizontal", onsubmit = "return validateCallback(this,navTabAjaxDone,'是否确认刷新菜单')" }))
        {
        <div class="form-group">
            <label class="col-sm-1 control-label">
                用户名：</label>
            <div class="col-sm-2">
                @Html.TextBoxFor(m => m.LoginName, new { @class = "form-control" })
                @Html.ValidationMessageFor(m => m.LoginName)
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-1 control-label">
                密码：</label>
            <div class="col-sm-2">
                @Html.PasswordFor(m => m.PassWord, new { @class = "form-control" })
                @Html.ValidationMessageFor(m => m.PassWord)
            </div>
        </div>

        <div class="form-group">
            <div class="col-sm-2 col-sm-offset-1">
                <button class="btn btn-primary" type="submit">
                    刷新菜单数据</button>
            </div>
        </div>
        }
    }
</div>
@section Customer_Js{
    <script>
        $(function () {
            $('#postForm').addRequiredHtml();
        });
    </script>
}
